<?
$page_title="Contact Us";
$mindex=5;
?>
<? include("includes/header.php") ?>

<p align="left"></p>

<p align="left"><b>B. K. Karuna, India Co-ordinator, Global IT</b></p>

<p align="left">Shantivan, Abu Road, Rajasthan - 307510</p><br/>

<p align="left"></p>

<p align="left">B.K. Yashwant, Head Quarters
Co-ordinator,&nbsp;</p>

<p align="left">Shantivan, Abu Road, Rajasthan - 307510</p>
<br/>
<div class="page_title">Email</div>
<p align="left">itncomm@bkconnect.net</p>

<br />
<div class="page_title">Feedback Form	</div>
<form method="post" onsubmit="return validateForm(this)" action="send_email.php" name="frmContact">
<table cellpadding="5" cellspacing="4" width="100%">
<tr>
<td class="frmLabel">Your Name &nbsp;*</td>
<td><input name="txtName" id="txtName" size="40" value="" class="txtbox" /></td>
</tr>
<tr>
<td class="frmLabel">Your Email &nbsp;</td>
<td><input name="txtEmail" id="txtEmail"  size="40" value="" class="txtbox"  /></td>
</tr>
<tr>
<td class="frmLabel">Your Phone &nbsp;</td>
<td><input name="txtPhone" id="txtPhone"  size="40" value=""   class="txtbox"/></td>
</tr>
<tr>
<td class="frmLabel">Subject &nbsp;*</td>
<td><input name="txtSubject" id="txtSubject" size="40" value="" class="txtbox" /></td>
</tr>
<tr>
<td class="frmLabel" valign="top">Message &nbsp;*</td>
<td><textarea name="txtMsg" id="txtMsg"  rows="5" cols="60" class="txtarea"> </textarea></td>
</tr>
<tr>

<td colspan="2" align="center"><input type="submit" class="button" value="Submit">
<input type="reset" class="button"></td>
</tr>
</table>
</form>

<script language="javascript">
function validateForm(vFormObject)
{

	var user_msg="";
	var emailfilter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	if(vFormObject.txtName.value=="")
	{
		user_msg=  "Name cannot be empty. Please check.";
		
	}

	if(vFormObject.txtEmail.value!="")
	{
		
		if (!emailfilter.test(vFormObject.txtEmail.value)){

			user_msg ="Invalid Email address. Please check.";

		}
	}
	if(vFormObject.txtSubject.value=="")
	{
		
		user_msg ="Subject  cannot be empty. Please check.";
		
	}
	if(vFormObject.txtMsg.value=="")
	{
		
		user_msg ="Message content  cannot be empty. Please check.";
		
	}

	if(user_msg=="")
	{
		return true;
	}
	else
	{

		alert(user_msg);
		return false;
	}


}

</script>
<? include("includes/footer.php") ?>